package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * （营销服务） 套餐中的商品、赠品信息DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-11-01
 */
public class SubProductDTO implements Serializable {
    private static final long serialVersionUID = 4414467570423040994L;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 商品SkuId
     */
    private Long skuId;

    /**
     * 原价
     */
    private BigDecimal price;

    /**
     * 到手价
     */
    private BigDecimal refPrice;

    /**
     * 商品名称
     */
    private String name;

    /**
     * 赠送数量
     */
    private BigDecimal quantity;

    /**
     * 品类
     */
    private String category;

    /**
     * 品牌
     */
    private String brand;

    /**
     * 单位
     */
    private String unit;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getRefPrice() {
        return refPrice;
    }

    public void setRefPrice(BigDecimal refPrice) {
        this.refPrice = refPrice;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }
}
